import { SEND_FEEDBACK, FEEDBACK_SHOW_ALL } from './api';
import { METHOD, request } from '@/utils/request';
//发送反馈
export async function sendFeedback(params) {
  return request(SEND_FEEDBACK, METHOD.POST, params);
}
//获取反馈列表
export async function getfeedbackList(params) {
  return request(FEEDBACK_SHOW_ALL, METHOD.GET, params);
}

export default { sendFeedback, getfeedbackList };
